<?php
/**
 * Created by PhpStorm.
 * User: DongYao
 * Date: 2017/12/24
 * Time: 下午9:55
 */

namespace XmtApp\Modules\Admin\Controllers\Api;


use XmtApp\Modules\Admin\Controllers\Controller;
use Auth;

class BaseController extends Controller
{
    public $user;

    public function __construct()
    {
        $this->user = Auth::guard('api')->user();
    }
}